GAME_NAME = "infopunk"
GAME_VERSION = "0.0.1"
GAME_AUTHOR = "a laice trip"

WORLD_RESOLUTION_X = 480
WORLD_RESOLUTION_Y = 320

SCREEN_RESOLUTION_X = 2 * WORLD_RESOLUTION_X
SCREEN_RESOLUTION_Y = 2 * WORLD_RESOLUTION_Y

G_VIEW_SIZE_X = WORLD_RESOLUTION_X
G_VIEW_SIZE_Y = WORLD_RESOLUTION_Y

CENTER_G_VIEW_X = WORLD_RESOLUTION_X/2
CENTER_G_VIEW_Y = WORLD_RESOLUTION_Y/2

GUI_CONVERT_X = SCREEN_RESOLUTION_X/100
GUI_CONVERT_Y = SCREEN_RESOLUTION_Y/100

RESOURCE_TYPE_IMAGE = 0
RESOURCE_TYPE_TILED_IMAGE = 1
RESOURCE_TYPE_FONT = 2
RESOURCE_TYPE_SOUND = 3

TILE_SIZE = 16
TILE_SCALE = 2
MAP_WIDTH = 32
MAP_HEIGHT = 32
MAP_DRAW_OFFSET_X = WORLD_RESOLUTION_X * 0.125
MAP_DRAW_OFFSET_Y = WORLD_RESOLUTION_Y * 0.125
MAP_SIZE_Y = MAP_HEIGHT * TILE_SIZE
MAP_SIZE_X = MAP_WIDTH * TILE_SIZE

TURN_TIME = 1
GAME_SPEED = 16

BASE_HUNGER_RATE = 0.5
BASE_THIRST_RATE = 0.7
BASE_PISS_RATE = 0.8
BASE_SHIT_RATE = 0.6 
BASE_HYGENE_RATE = 0.2 
BASE_SLEEP_RATE = 0.1 
BASE_JOB_RATE = 1


WALKABLE_TILE = 0
UNWALKABLE_TILE = 1

SPACE_TILE = 1
WALL_TILE = 2
FLOOR_TILE = 3

CONTROL_PANEL = 99
DOOR_TILE = 98
AIRLOCK_TILE = 97
HOOK_TILE = 96
THRUSTER_TILE = 95
FUEL_CELL = 94
FOOD_STATION = 93
RECYCLER = 92
OXYGEN_TANKS = 91
WATER_TANKS = 90
SPACE_TOILET = 89
SLEEP_TUBE = 88

AIRLOCK_NAME = 'airlock_door'
HOOK_NAME = 'hook_tile'
THRUSTER_NAME = 'thruster'

USER_NAME = 'laice'

MOAIActionMgr:setThreadInfoEnabled( true )

WIRE_TYPE = 1
OXYGEN_HOSE_TYPE = 2
WATER_PIPE_TYPE = 3
WASTE_PIPE_TYPE = 4
SUPPLY_PIPE_TYPE = 5

WIRE_HEALTH_MOD = 0.25
OXYGEN_HOSE_HEALTH_MOD = 1
WATER_PIPE_HEALTH_MOD = 1
WASTE_PIPE_HEALTH_MOD = 0.5
SUPPLY_PIPE_HEALTH_MOD = 0.75

RES_POWER = 1

WIRE_RL = 1
WIRE_LU = 2
WIRE_LD = 3
WIRE_RU = 4
WIRE_RD = 5
WIRE_RLUD = 6
WIRE_RUD = 7
WIRE_LUD = 8
WIRE_RLD = 9
WIRE_RLU = 10
WIRE_UD = 11

HUNGER, THIRST, PISS, SHIT, HYGENE, SLEEP = 'eat', 'drink', 'urinate' , 'defecate', 'wash', 'sleep'
JOB = 'job'

BASE_DAMAGE_RATE = 1000
BASE_DAMAGE_MOD = 100



